package com.ll.SchoolSafe.pojo;


import java.util.Date;

public class Safety {
    private Integer safetyId;
    private String safetyThemeId;
    private String safetyTitle;
    private String safetyContent;
    private Date releaseTime;
    private Integer readNumber;


    public Safety() {
    }

    public Safety(Integer safetyId, String safetyThemeId, String safetyTitle, String safetyContent, Date releaseTime, Integer readNumber) {
        this.safetyId = safetyId;
        this.safetyThemeId = safetyThemeId;
        this.safetyTitle = safetyTitle;
        this.safetyContent = safetyContent;
        this.releaseTime = releaseTime;
        this.readNumber = readNumber;
    }

    /**
     * 获取
     * @return safetyId
     */
    public Integer getSafetyId() {
        return safetyId;
    }

    /**
     * 设置
     * @param safetyId
     */
    public void setSafetyId(Integer safetyId) {
        this.safetyId = safetyId;
    }

    /**
     * 获取
     * @return safetyThemeId
     */
    public String getSafetyThemeId() {
        return safetyThemeId;
    }

    /**
     * 设置
     * @param safetyThemeId
     */
    public void setSafetyThemeId(String safetyThemeId) {
        this.safetyThemeId = safetyThemeId;
    }

    /**
     * 获取
     * @return safetyTitle
     */
    public String getSafetyTitle() {
        return safetyTitle;
    }

    /**
     * 设置
     * @param safetyTitle
     */
    public void setSafetyTitle(String safetyTitle) {
        this.safetyTitle = safetyTitle;
    }

    /**
     * 获取
     * @return safetyContent
     */
    public String getSafetyContent() {
        return safetyContent;
    }

    /**
     * 设置
     * @param safetyContent
     */
    public void setSafetyContent(String safetyContent) {
        this.safetyContent = safetyContent;
    }

    /**
     * 获取
     * @return releaseTime
     */
    public Date getReleaseTime() {
        return releaseTime;
    }

    /**
     * 设置
     * @param releaseTime
     */
    public void setReleaseTime(Date releaseTime) {
        this.releaseTime = releaseTime;
    }

    /**
     * 获取
     * @return readNumber
     */
    public Integer getReadNumber() {
        return readNumber;
    }

    /**
     * 设置
     * @param readNumber
     */
    public void setReadNumber(Integer readNumber) {
        this.readNumber = readNumber;
    }

    public String toString() {
        return "Safety{safetyId = " + safetyId + ", safetyThemeId = " + safetyThemeId + ", safetyTitle = " + safetyTitle + ", safetyContent = " + safetyContent + ", releaseTime = " + releaseTime + ", readNumber = " + readNumber + "}";
    }
}
